export const ResourceGetter =(filename:string)=> {
    // const resUrl:URL=new URL(`./assets/${filename}.png`,import.meta.url);
    // console.log(resUrl.pathname)
    const config=useRuntimeConfig()
    const host:string= config.public.enableReplaceImgURL?config.public.newImgHost:config.public.oldImgHost;

    return `${host}/hitch/system/${filename}`
}